#include "RC.h"
	
void RC_Speed(Remote_DataTypeDef* RC)
{
	if(RC->mode==0)
	{
//		
    }
	else if(RC->mode==1)
	{
		if(RC->save_flag==1||RC->cmd_gear!=0)
		{
			RC->Save_Data[RC->gear-1].X=RC->X;
			RC->Save_Data[RC->gear-1].Y=RC->Y;
			RC->Save_Data[RC->gear-1].Yaw=RC->Yaw;
		}
	}
}